<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2007 osCommerce

  Released under the GNU General Public License
*/

// look in your $PATH_LOCALE/locale directory for available locales..
// on RedHat6.0 I used 'en_US'
// on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
// this may not work under win32 environments..
setlocale(LC_TIME, 'en_US.ISO_8859-1');
define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
define('JQUERY_DATEPICKER_I18N_CODE', ''); // leave empty for en_US; see http://jqueryui.com/demos/datepicker/#localization
define('JQUERY_DATEPICKER_FORMAT', 'mm/dd/yy'); // see http://docs.jquery.com/UI/Datepicker/formatDate

////
// Return date in raw format
// $date should be in format mm/dd/yyyy
// raw date is in format YYYYMMDD, or DDMMYYYY
function tep_date_raw($date, $reverse = false) {
  if ($reverse) {
    return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
  } else {
    return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
  }
}

// Global entries for the <html> tag
define('HTML_PARAMS','dir="ltr" lang="en"');

// charset for web pages and emails
define('CHARSET', 'utf-8');

// page title
define ('TITLE', 'Herramienta de administración de osCommerce Online Merchant');

// Encabezamiento de texto en includes / header.php
define ('HEADER_TITLE_TOP', 'Administración');
define ('HEADER_TITLE_SUPPORT_SITE', 'Sitio de Soporte');
define ('HEADER_TITLE_ONLINE_CATALOG', 'Catálogo en línea');
define ('HEADER_TITLE_ADMINISTRATION', 'Administración');

// text for gender
define ('hombre', 'Mujer');
define ('mujer', 'Mujer');

// text for date of birth example
define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

// configuration box text in includes/boxes/configuration.php
define ('BOX_HEADING_CONFIGURATION', 'Configuración');
define ('BOX_CONFIGURATION_MYSTORE', 'Mi Tienda');
define ('BOX_CONFIGURATION_LOGGING', 'registro');
define ('BOX_CONFIGURATION_CACHE', 'Caché');
define ('BOX_CONFIGURATION_ADMINISTRATORS', 'administradores');
define ('BOX_CONFIGURATION_STORE_LOGO', 'Store Logo');

// modules box text in includes/boxes/modules.php
define('BOX_HEADING_MODULES', 'Módulos');

// categories box text in includes/boxes/catalog.php
define ('BOX_HEADING_CATALOG', 'Catálogo');
define ('BOX_CATALOG_CATEGORIES_PRODUCTS', 'Categorías y productos');
define ('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES','Atributos de Productos');
define ('BOX_CATALOG_MANUFACTURERS', 'Fabricantes');
define ('BOX_CATALOG_REVIEWS', 'Comentarios');
define ('BOX_CATALOG_SPECIALS', 'Especiales');
define ('BOX_CATALOG_PRODUCTS_EXPECTED', 'Productos esperaba');

// customers box text in includes/boxes/customers.php
define ('BOX_HEADING_CUSTOMERS', 'Clientes');
define ('BOX_CUSTOMERS_CUSTOMERS', 'Clientes');
define ('BOX_CUSTOMERS_ORDERS', 'Pedidos');

// taxes box text in includes/boxes/taxes.php
define ('BOX_HEADING_LOCATION_AND_TAXES','Ubicación de las impuestos');
define ('BOX_TAXES_COUNTRIES', 'Países');
define ('BOX_TAXES_ZONES', 'zonas');
define ('BOX_TAXES_GEO_ZONES', 'Zonas de Impuestos');
define ('BOX_TAXES_TAX_CLASSES', 'Clases de impuestos');
define ('BOX_TAXES_TAX_RATES', 'las tasas de impuestos');

// reports box text in includes/boxes/reports.php
define ('BOX_HEADING_REPORTS', 'Informes');
define ('BOX_REPORTS_PRODUCTS_VIEWED', 'Productos vistos');
define ('BOX_REPORTS_PRODUCTS_PURCHASED', 'Productos comprados');
define ('BOX_REPORTS_ORDERS_TOTAL', 'cliente ordena-total');

// tools text in includes/boxes/tools.php
define ('BOX_HEADING_TOOLS', 'Herramientas');
define ('BOX_TOOLS_ACTION_RECORDER', 'Grabadora de acciones');
define ('BOX_TOOLS_BACKUP','Copia de seguridad de base de datos');
define ('BOX_TOOLS_BANNER_MANAGER', 'Gestor de anuncios');
define ('BOX_TOOLS_CACHE', 'Control de caché');
define ('BOX_TOOLS_DEFINE_LANGUAGE', 'Definición de Idiomas');
define ('BOX_TOOLS_MAIL', 'Enviar correo');
define ('BOX_TOOLS_NEWSLETTER_MANAGER', 'Gerente de Noticias');
define ('BOX_TOOLS_SEC_DIR_PERMISSIONS','Permisos de directorios de Seguridad');
define ('BOX_TOOLS_SERVER_INFO', 'Información del servidor');
define ('BOX_TOOLS_VERSION_CHECK', 'Version Checker');
define ('BOX_TOOLS_WHOS_ONLINE', '¿Quién \' s en línea');

// localizaion box text in includes/boxes/localization.php
define ('BOX_HEADING_LOCALIZATION', 'Localización');
define ('BOX_LOCALIZATION_CURRENCIES', 'Monedas');
define ('BOX_LOCALIZATION_LANGUAGES', 'Idiomas');
define ('BOX_LOCALIZATION_ORDERS_STATUS ','Seguimiento de su pedido');

// javascript messages
define('JS_ERROR', 'Los errores se han producido durante el proceso de su formulario! \ NPor favor, haz las siguientes correcciones:\n\n');

define('JS_OPTIONS_VALUE_PRICE', '* El atributo físico nuevo producto tiene un valor de precio\n');
define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* El atributo físico nuevo producto necesita un prefijo de precios\n');

define('JS_PRODUCTS_NAME', '* The new product needs a name\n');
define('JS_PRODUCTS_DESCRIPTION', '* The new product needs a description\n');
define('JS_PRODUCTS_PRICE', '* The new product needs a price value\n');
define('JS_PRODUCTS_WEIGHT', '* The new product needs a weight value\n');
define('JS_PRODUCTS_QUANTITY', '* The new product needs a quantity value\n');
define('JS_PRODUCTS_MODEL', '* The new product needs a model value\n');
define('JS_PRODUCTS_IMAGE', '* The new product needs an image value\n');

define('JS_SPECIALS_PRODUCTS_PRICE', '* A new price for this product needs to be set\n');

define('JS_GENDER', '* The \'Gender\' value must be chosen.\n');
define('JS_FIRST_NAME', '* The \'First Name\' entry must have at least ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.\n');
define('JS_LAST_NAME', '* The \'Last Name\' entry must have at least ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.\n');
define('JS_DOB', '* The \'Date of Birth\' entry must be in the format: xx/xx/xxxx (month/date/year).\n');
define('JS_EMAIL_ADDRESS', '* The \'E-Mail Address\' entry must have at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.\n');
define('JS_ADDRESS', '* The \'Street Address\' entry must have at least ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.\n');
define('JS_POST_CODE', '* The \'Post Code\' entry must have at least ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.\n');
define('JS_CITY', '* The \'City\' entry must have at least ' . ENTRY_CITY_MIN_LENGTH . ' characters.\n');
define('JS_STATE', '* The \'State\' entry is must be selected.\n');
define('JS_STATE_SELECT', '-- Select Above --');
define('JS_ZONE', '* The \'State\' entry must be selected from the list for this country.');
define('JS_COUNTRY', '* The \'Country\' value must be chosen.\n');
define('JS_TELEPHONE', '* The \'Telephone Number\' entry must have at least ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.\n');
define('JS_PASSWORD', '* The \'Password\' amd \'Confirmation\' entries must match amd have at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.\n');

define('JS_ORDER_DOES_NOT_EXIST', 'Order Number %s does not exist!');

define('CATEGORY_PERSONAL', 'Personal');
define('CATEGORY_ADDRESS', 'Address');
define('CATEGORY_CONTACT', 'Contact');
define('CATEGORY_COMPANY', 'Company');
define('CATEGORY_OPTIONS', 'Options');

define('ENTRY_GENDER', 'Gender:');
define('ENTRY_GENDER_ERROR', '&nbsp;<span class="errorText">required</span>');
define('ENTRY_FIRST_NAME', 'First Name:');
define('ENTRY_FIRST_NAME_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' chars</span>');
define('ENTRY_LAST_NAME', 'Last Name:');
define('ENTRY_LAST_NAME_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_LAST_NAME_MIN_LENGTH . ' chars</span>');
define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');
define('ENTRY_DATE_OF_BIRTH_ERROR', '&nbsp;<span class="errorText">(eg. 05/21/1970)</span>');
define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');
define('ENTRY_EMAIL_ADDRESS_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' chars</span>');
define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', '&nbsp;<span class="errorText">The email address doesn\'t appear to be valid!</span>');
define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', '&nbsp;<span class="errorText">This email address already exists!</span>');
define('ENTRY_COMPANY', 'Company name:');
define('ENTRY_STREET_ADDRESS', 'Street Address:');
define('ENTRY_STREET_ADDRESS_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' chars</span>');
define('ENTRY_SUBURB', 'Suburb:');
define('ENTRY_POST_CODE', 'Post Code:');
define('ENTRY_POST_CODE_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_POSTCODE_MIN_LENGTH . ' chars</span>');
define('ENTRY_CITY', 'City:');
define('ENTRY_CITY_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_CITY_MIN_LENGTH . ' chars</span>');
define('ENTRY_STATE', 'State:');
define('ENTRY_STATE_ERROR', '&nbsp;<span class="errorText">required</span>');
define('ENTRY_COUNTRY', 'Country:');
define('ENTRY_COUNTRY_ERROR', 'You must select a country from the Countries pull down menu.');
define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');
define('ENTRY_TELEPHONE_NUMBER_ERROR', '&nbsp;<span class="errorText">min ' . ENTRY_TELEPHONE_MIN_LENGTH . ' chars</span>');
define('ENTRY_FAX_NUMBER', 'Fax Number:');
define('ENTRY_NEWSLETTER', 'Newsletter:');
define('ENTRY_NEWSLETTER_YES', 'Subscribed');
define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');

// images
define ('IMAGE_ANI_SEND_EMAIL','Enviar E-Mail');
define ('IMAGE_BACK','Volver');
define ('IMAGE_BACKUP','Backup');
define ('IMAGE_CANCEL','Cancelar');
define ('IMAGE_CONFIRM','Confirmar');
define ('IMAGE_COPY','Copiar');
define ('IMAGE_COPY_TO','Copiar');
define ('IMAGE_DETAILS', 'Detalles');
define ('IMAGE_DELETE','Borrar');
define ('IMAGE_EDIT', 'Editar');
define ('IMAGE_EMAIL','Correo');
define ('IMAGE_EXPORT','Export');
define ('IMAGE_ICON_STATUS_GREEN','activo');
define ('IMAGE_ICON_STATUS_GREEN_LIGHT','Set Active');
define ('IMAGE_ICON_STATUS_RED','inactivo');
define ('IMAGE_ICON_STATUS_RED_LIGHT','Set inactiva');
define ('IMAGE_ICON_INFO','Información');
define ('IMAGE_INSERT','Insertar');
define ('IMAGE_LOCK','Lock');
define ('IMAGE_MODULE_INSTALL ','Instalar el módulo');
define ('IMAGE_MODULE_REMOVE', 'Eliminar del módulo');
define ('IMAGE_MOVE', 'Mover');
define ('IMAGE_NEW_BANNER','Nuevo Banner');
define ('IMAGE_NEW_CATEGORY', 'nueva');
define ('IMAGE_NEW_COUNTRY','Nuevo País');
define ('IMAGE_NEW_CURRENCY','nueva moneda');
define ('IMAGE_NEW_FILE','Nuevo archivo');
define ('IMAGE_NEW_FOLDER','Nueva carpeta');
define ('IMAGE_NEW_LANGUAGE','nuevo idioma');
define ('IMAGE_NEW_NEWSLETTER','Nuevo Boletín');
define ('IMAGE_NEW_PRODUCT','Nuevos Productos');
define ('IMAGE_NEW_TAX_CLASS','Nueva Clase de Impuesto');
define ('IMAGE_NEW_TAX_RATE','nueva tasa de impuestos');
define ('IMAGE_NEW_TAX_ZONE','Zona Franca Nueva');
define ('IMAGE_NEW_ZONE','Nueva Zona');
define ('IMAGE_ORDERS','Pedidos');
define ('IMAGE_ORDERS_INVOICE','Factura');
define ('IMAGE_ORDERS_PACKINGSLIP','albarán');
define ('IMAGE_PREVIEW','Vista previa');
define ('IMAGE_RESTORE','Restaurar');
define ('IMAGE_RESET','Reset');
define ('IMAGE_SAVE','Guardar');
define ('IMAGE_SEARCH','Búsqueda');
define ('IMAGE_SELECT','Seleccionar');
define ('IMAGE_SEND','Enviar');
define ('IMAGE_SEND_EMAIL','Enviar correo');
define ('IMAGE_UNLOCK','Desbloquear');
define ('IMAGE_UPDATE','Update');
define ('IMAGE_UPDATE_CURRENCIES','Actualización de Tipo de Cambio');
define ('IMAGE_UPLOAD','Subir');

define ('ICON_CROSS', 'false');
define ('ICON_CURRENT_FOLDER','Carpeta actual');
define ('ICON_DELETE','Borrar');
define ('ICON_ERROR', 'Error');
define ('ICON_FILE', 'Archivo');
define ('ICON_FILE_DOWNLOAD','Descargar');
define ('ICON_FOLDER','Carpeta');
define ('ICON_LOCKED','Cerrado');
define ('ICON_PREVIOUS_LEVEL', 'Nivel anterior');
define ('ICON_PREVIEW','Vista previa');
define ('ICON_STATISTICS','Estadísticas');
define ('ICON_SUCCESS', 'Exito');
define ('ICON_TICK', 'true');
define ('ICON_UNLOCKED','desbloqueado');
define ('ICON_WARNING', 'Advertencia');

// constants for use in tep_prev_next_display function
define('TEXT_RESULT_PAGE','Page %s of %d');
define('TEXT_DISPLAY_NUMBER_OF_BANNERS','Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> banners)');
define('TEXT_DISPLAY_NUMBER_OF_COUNTRIES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> countries)');
define('TEXT_DISPLAY_NUMBER_OF_CUSTOMERS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> customers)');
define('TEXT_DISPLAY_NUMBER_OF_CURRENCIES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> currencies)');
define('TEXT_DISPLAY_NUMBER_OF_ENTRIES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> entries)');
define('TEXT_DISPLAY_NUMBER_OF_LANGUAGES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> languages)');
define('TEXT_DISPLAY_NUMBER_OF_MANUFACTURERS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> manufacturers)');
define('TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> newsletters)');
define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> orders)');
define('TEXT_DISPLAY_NUMBER_OF_ORDERS_STATUS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> orders status)');
define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> products)');
define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_EXPECTED', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> products expected)');
define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> product reviews)');
define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> products on special)');
define('TEXT_DISPLAY_NUMBER_OF_TAX_CLASSES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> tax classes)');
define('TEXT_DISPLAY_NUMBER_OF_TAX_ZONES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> tax zones)');
define('TEXT_DISPLAY_NUMBER_OF_TAX_RATES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> tax rates)');
define('TEXT_DISPLAY_NUMBER_OF_ZONES', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> zones)');

define('PREVNEXT_BUTTON_PREV', '&lt;&lt;');
define('PREVNEXT_BUTTON_NEXT', '&gt;&gt;');

define('TEXT_DEFAULT', 'default');
define('TEXT_SET_DEFAULT', 'Set as default');
define('TEXT_FIELD_REQUIRED', '&nbsp;<span class="fieldRequired">* Required</span>');

define ('TEXT_CACHE_CATEGORIES','Caja de las categorías');
define ('TEXT_CACHE_MANUFACTURERS','Caja de Fabricantes');
define ('TEXT_CACHE_ALSO_PURCHASED','Módulo, también han comprado');

define ('TEXT_NONE', '- ninguno -');
define ('TEXT_TOP','Top');

define('ERROR_DESTINATION_DOES_NOT_EXIST', 'Error: Destination does not exist.');
define('ERROR_DESTINATION_NOT_WRITEABLE', 'Error: Destination not writeable.');
define('ERROR_FILE_NOT_SAVED', 'Error: File upload not saved.');
define('ERROR_FILETYPE_NOT_ALLOWED', 'Error: File upload type not allowed.');
define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload saved successfully.');
define('WARNING_NO_FILE_UPLOADED', 'Warning: No file uploaded.');
// start Product Questions
define('BOX_CATALOG_QUESTIONS', 'Preguntas');
define('TEXT_DISPLAY_NUMBER_OF_QUESTIONS', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> product questions)');
// end Product Questions

//FAQDesk 2.3
define('BOX_TOOLS_FAQ', 'FAQ Manager');

define('BOX_CUSTOMERS_REFERRALS', 'Referidos'); //rmh referrals
define('BOX_REPORTS_REFERRAL_SOURCES', 'Fuentes de Referencia'); //rmh referrals
define('TEXT_DISPLAY_NUMBER_OF_REFERRALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> referral sources)'); //rmh referrals

// BOF Order Maker
define('IMAGE_CREATE_ORDER', 'Crear');
define('BOX_CUSTOMERS_CREATE_ORDER', 'Crear Orden');
// EOF Order Maker
// BOF Create Account 
define('BOX_CUSTOMERS_CREATE_ACCOUNT', 'Crear al cliente');
// EOF Create Account
define('BOX_TOOLS_PAGE_MANAGER', 'Page Manager');
define('HEADER_TITLE_AUTO_IMPORT','Auto Import');//add by donghp
define('HEADER_EMPTY_DB','Empty datafeed');
?>